package com.kj.platformlogistics.systemnotification;

import java.util.List;

public class SystemNotifiModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"1408730679965892610","createBy":null,"createTime":"2021-06-26 18:15:42","updateBy":null,"updateTime":null,"userId":"2","shopId":null,"waybillNumber":"D20210626144112727dae","content":"订单已揽收","status":1,"type":1}]
     * timestamp : 1624702786837
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;



    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }


    public static class ResultDTO {
        /**
         * id : 1408730679965892610
         * createBy : null
         * createTime : 2021-06-26 18:15:42
         * updateBy : null
         * updateTime : null
         * userId : 2
         * shopId : null
         * waybillNumber : D20210626144112727dae
         * content : 订单已揽收
         * status : 1
         * type : 1
         */

        private String id;
        private Object createBy;
        private String createTime;
        private Object updateBy;
        private String updateTime;
        private String userId;
        private String shopId;
        private String waybillNumber;
        private String content;
        private Integer status;
        private Integer type;
        private Boolean isSelected;
        private Boolean  isShow;

        public Boolean getSelected() {
            return isSelected;
        }

        public void setSelected(Boolean selected) {
            isSelected = selected;
        }

        public Boolean getShow() {
            return isShow;
        }

        public void setShow(Boolean show) {
            isShow = show;
        }
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getCreateBy() {
            return createBy;
        }

        public void setCreateBy(Object createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(Object updateBy) {
            this.updateBy = updateBy;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public String getWaybillNumber() {
            return waybillNumber;
        }

        public void setWaybillNumber(String waybillNumber) {
            this.waybillNumber = waybillNumber;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }
    }
}
